﻿@model _5._19EmpireRecordsApp.Data.Model.Artist
<form method="post">
    <!----Make sure you put method as post to edit not action-->
    <div class="container-well">
        @Html.LabelFor(x=> x.ArtistName)
        @Html.TextBoxFor(x => x.ArtistName, new { @class = "form-control" })
        <br />
        <br />
        @Html.LabelFor(x => x.Genre)
        @Html.EnumDropDownListFor(x => x.Genre, new { @class = "form-control" })
        <br />
        <br />
        <button type="submit" class="btn btn-warning">Submit</button>
   
     </div>
    @Html.HiddenFor(x => x.id)

</form>

<h2>EditArtist</h2>

